package com.example.myproject.service;

import com.example.myproject.dto.*;
import com.example.myproject.dto.login.ChangePasswordRequest;
import com.example.myproject.dto.login.LoginRequest;
import com.example.myproject.dto.login.RegisterRequest;
import com.example.myproject.dto.login.VerifyEmailRequest;
import com.example.myproject.vo.*;
import com.example.myproject.dto.user.UserInfoDTO;
public interface UserService {
    Long register(RegisterRequest req);
    String verifyEmail(VerifyEmailRequest req);
    LoginResponse login(LoginRequest req);
    UserInfoVO getUserInfo(Long userId);
    void updateUserInfo(Long userId, UpdateUserInfoRequest req);
    void changePassword(Long userId, ChangePasswordRequest req);
    public String getPasskeyByUserId(Long userId);
    ValuesInfoDTO getValuesInfo(Long userId); // 添加这行
    // 获取用户完整信息
    UserInfoDTO getUserInfo1(Long userId);
}